Optimal. Leaf size=127 \[ \frac{n x \left (c+d x^n\right )^{-1/n} (2 a d n+b c)}{c^3 d (n+1) (2 n+1)}+\frac{x \left (c+d x^n\right )^{-\frac{1}{n}-1} (2 a d n+b c)}{c^2 d (n+1) (2 n+1)}-\frac{x (b c-a d) \left (c+d x^n\right )^{-\frac{1}{n}-2}}{c d (2 n+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.172598, antiderivative size = 127, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13 \[ \frac{n x \left (c+d x^n\right )^{-1/n} (2 a d n+b c)}{c^3 d (n+1) (2 n+1)}+\frac{x \left (c+d x^n\right )^{-\frac{1}{n}-1} (2 a d n+b c)}{c^2 d (n+1) (2 n+1)}-\frac{x (b c-a d) \left (c+d x^n\right )^{-\frac{1}{n}-2}}{c d (2 n+1)} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^n)*(c + d*x^n)^(-3 - n^(-1)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.8297, size = 105, normalized size = 0.83 \[ \frac{x \left (c + d x^{n}\right )^{-2 - \frac{1}{n}} \left (a d - b c\right )}{c d \left (2 n + 1\right )} + \frac{x \left (c + d x^{n}\right )^{-1 - \frac{1}{n}} \left (2 a d n + b c\right )}{c^{2} d \left (n + 1\right ) \left (2 n + 1\right )} + \frac{n x \left (c + d x^{n}\right )^{- \frac{1}{n}} \left (2 a d n + b c\right )}{c^{3} d \left (n + 1\right ) \left (2 n + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*x**n)*(c+d*x**n)**(-3-1/n),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.139311, size = 96, normalized size = 0.76 \[ \frac{x \left (c+d x^n\right )^{-1/n} \left (\frac{d x^n}{c}+1\right )^{\frac{1}{n}} \left (a (n+1) \, _2F_1\left (3+\frac{1}{n},\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )+b x^n \, _2F_1\left (1+\frac{1}{n},3+\frac{1}{n};2+\frac{1}{n};-\frac{d x^n}{c}\right )\right )}{c^3 (n+1)} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^n)*(c + d*x^n)^(-3 - n^(-1)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.18, size = 0, normalized size = 0. \[ \int \left ( a+b{x}^{n} \right ) \left ( c+d{x}^{n} \right ) ^{-3-{n}^{-1}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*x^n)*(c+d*x^n)^(-3-1/n),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}^{-\frac{1}{n} - 3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*(d*x^n + c)^(-1/n - 3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.260778, size = 234, normalized size = 1.84 \[ \frac{{\left (2 \, a d^{3} n^{2} + b c d^{2} n\right )} x x^{3 \, n} +{\left (6 \, a c d^{2} n^{2} + b c^{2} d +{\left (3 \, b c^{2} d + 2 \, a c d^{2}\right )} n\right )} x x^{2 \, n} +{\left (6 \, a c^{2} d n^{2} + b c^{3} + a c^{2} d +{\left (2 \, b c^{3} + 5 \, a c^{2} d\right )} n\right )} x x^{n} +{\left (2 \, a c^{3} n^{2} + 3 \, a c^{3} n + a c^{3}\right )} x}{{\left (2 \, c^{3} n^{2} + 3 \, c^{3} n + c^{3}\right )}{\left (d x^{n} + c\right )}^{\frac{3 \, n + 1}{n}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*(d*x^n + c)^(-1/n - 3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*x**n)*(c+d*x**n)**(-3-1/n),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)*(d*x^n + c)^(-1/n - 3),x, algorithm="giac")
[Out]